<?php
require_once(dirname(__FILE__)."/../include/admin/updatenews_data.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>编辑新闻</title>
</head>
<body >
<?php
?>
<br />
<form action="updatenews.php" method="post">
<table style="padding-left:30px" style="width:100%">
<input type="hidden" name="id" value="<?php echo $Object->id ;?>" />
<tr><td colspan="2"><h2>编辑新闻</h2></td></tr>
<tr><td colspan="2">
</td></tr>
<tr><td style="width:19%">上次提交用户名：</td><td style="width:81%"><?php echo $Object->user; ?></td></tr>
<tr><td style="width:19%">上次提交IP地址：</td><td style="width:81%"><?php echo $Object->ip; ?></td></tr>
<tr><td style="width:19%">上次提交时间：</td><td style="width:81%"><?php echo $Object->time; ?></td></tr>
<tr><td style="width:19%">上次提交标题：</td><td style="width:81%"><input type="text" value="<?php echo $Object->title;?>" style="width:300px" name="title"/></td></tr>
<tr valign="top"><td colspan="2" >上次提交内容：
<br />
<?php
$description = new FCKeditor('content') ;
$description->BasePath = $fckeditor ;
$description->Height = 480 ;
$description->Width=700;
$description->Value = "<p>".$Object->content."</p>";
$description->Create();
?>
</td></tr>
<tr><td colspan="2" ><input type="submit" value="更新" name="update" /></td></tr>
</table>
</form>
</body>
</html>
